<!DOCTYPE html>
<html lang="en" xmlns:v="http://www.w3.org/1999/xhtml" xmlns:v-bind="http://www.w3.org/1999/xhtml"
      xmlns:v-if="http://www.w3.org/1999/xhtml" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Nogu OSU官网</title>
    <link rel="stylesheet" href="http://vits.natapp1.cc/static/layer/theme/default/layer.css">
    <link rel="stylesheet" href="http://vits.natapp1.cc/static/css/normalize.min.css">
    <link rel="stylesheet" href="http://vits.natapp1.cc/static/css/style.css">
    <link rel="stylesheet" href="http://vits.natapp1.cc/static/css/my.css">
    <link rel="icon" href="https://osu.ppy.sh/favicon.ico"/>
</head>
<body>

<div id="app-container" class="app-container">

    <sidebar_model @set-user="setUser"></sidebar_model>

    <div class="app-content">
        <div class="app-content-header">
            <h1 class="app-content-headerText">挑战杯</h1>
            <button class="mode-switch" title="Switch Theme">
                <svg class="moon" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
                     stroke-width="2" width="24" height="24" viewbox="0 0 24 24">
                    <defs></defs>
                    <path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
                </svg>
            </button>
        </div>
        <div class="app-content-actions">

        </div>

    </div>
</div>
<script src="http://vits.natapp1.cc/static/js/jquery.min.js"></script>
<script src="http://vits.natapp1.cc/static/js/vue.min.js"></script>
<script src="http://vits.natapp1.cc/static/js/axios.js"></script>
<script src="http://vits.natapp1.cc/static/layer/layer.js"></script>
<!--自己封装vue组件-->
<script src="http://vits.natapp1.cc/static/js/model.js"></script>
<!--原生js必须放到最后-->
<script src="http://vits.natapp1.cc/static/js/script.js"></script>
<script>
    // 给导航栏设置active
    $(function () {
        $("#sidebar-list li").eq(2).addClass("active");
    });

</script>

<script src="http://vits.natapp1.cc/static/js/checkUser.js"></script>
<!-- 初始化 start -->
<script type="text/javascript">
    $(document).ready(function () {
        // layer.ready(function () {
        //     loadix = layer.load(1, {
        //         shade: [0.4, '#fff']
        //     });
        // });
        // if (!checkUser()) {
        //     layer.alert(loginErrorMsg);
        //     layer.close(loadix);
        //     return;
        // }
        // console.log("确保前面拦截checkUser再做后面逻辑...")
    });
</script>
</body>
</html>
